package com.dhy.replugin

import com.facebook.drawee.backends.pipeline.Fresco
import com.qihoo360.replugin.RePluginApplication
import com.qihoo360.replugin.RePluginConfig

class App : RePluginApplication() {
    override fun createConfig(): RePluginConfig {
        val context = this
        return super.createConfig().apply {
            isUseHostClassIfNotFound = true
            isPrintDetailLog = true
            callbacks = ShareClassRePluginCallbacks(context)
        }
    }

    override fun onCreate() {
        super.onCreate()
        Fresco.initialize(this)
    }
}
